<?php
namespace App\Box\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 盒子列表Dto （导入导出）
 */
#[ExcelData]
class BoxInfoDto implements MineModelExcel
{
    #[ExcelProperty(value: "ID", index: 0)]
    public string $id;

    #[ExcelProperty(value: "盒子分类id", index: 1)]
    public string $category_id;

    #[ExcelProperty(value: "盒子名称", index: 2)]
    public string $name;

    #[ExcelProperty(value: "盒子价格", index: 3)]
    public string $price;

    #[ExcelProperty(value: "盒子背景图", index: 4)]
    public string $img;

    #[ExcelProperty(value: "盒子风格id", index: 5)]
    public string $box_style_id;

    #[ExcelProperty(value: "排序", index: 6)]
    public string $sort;

    #[ExcelProperty(value: "1:变价模式 2：变物模式 3：活动箱子", index: 7)]
    public string $mode_type;

    #[ExcelProperty(value: "售价系数", index: 8)]
    public string $price_coefficient;

    #[ExcelProperty(value: "每日活动开箱次数", index: 9)]
    public string $activity_num;

    #[ExcelProperty(value: "每日活动充值金额", index: 10)]
    public string $activity_price;

    #[ExcelProperty(value: "活动开始时间", index: 11)]
    public string $activity_start;

    #[ExcelProperty(value: "活动结束时间", index: 12)]
    public string $activity_end;

    #[ExcelProperty(value: "是否展示的箱子(1展示，2:隐藏）", index: 13)]
    public string $status;

    #[ExcelProperty(value: "创建者", index: 14)]
    public string $created_by;

    #[ExcelProperty(value: "创建时间", index: 15)]
    public string $create_time;

    #[ExcelProperty(value: "更新时间", index: 16)]
    public string $update_time;

    #[ExcelProperty(value: "删除", index: 17)]
    public string $delete_time;


}